<template>
  <k-view class="page-header">
    <k-view class="bar"></k-view>
    <k-view class="msg">
      {{ msg }}
    </k-view>
  </k-view>
</template>

<script>
export default {
  props: {
    msg: String,
  },
};
</script>

<style lang="less" scoped>
.page-header {
  display: flex;
  height: 50px;
  align-items: center;
  .bar {
    width: 8px;
    height: 24px;
    background: #ff2436;
    border-radius: 16px;
  }
  .msg {
    margin-left: 12px;
    font-size: 36px;
    color: #262626;
    font-weight: 500;
  }
}
[theme-mode='black']{
  .page-header {
    .msg {
      color: rgba(255, 255, 255, 0.84);
    }
  }
}
</style>
